package com.zhilehuo.service;


import com.github.pagehelper.PageInfo;
import com.zhilehuo.common.BaseResponse;
import com.zhilehuo.model.DTO.ParagraphWithWords;
import com.zhilehuo.model.po.Article;
import com.zhilehuo.model.vo.ArticleVo;

import java.util.List;


public interface IArticleService {


    PageInfo<ArticleVo> queryArticles(String title, String category, Integer pageNum, Integer pageSize);

    BaseResponse<Boolean> insert(Article article);

    BaseResponse<List<ParagraphWithWords>> getArticleWithPinyin(Integer id);
}
